www.gusucode.com > 云网互动影视系统(12套模版和资源联盟) 6.2 > 云网互动影视系统(12套模版和资源联盟) 6.2.4/免费版/Users/Users_Comments.asp
<!--#include file="../Conn.asp" --> <!--#include file="../Function/Function.asp" --> <%Set RS=Server.CreateObject(YWNT_TMS_RS) sql="select top "&NoSqlHack(Request.QueryString("CommentsVolume"))&" CommentsContent,CommentsUsers,CommentsDate from YWNT_TMS_Comments where CommentsAudit=1 and CommentsMovieID="&NoSqlHack(Request.QueryString("MovieID"))&" order by id desc" RS.open sql,conn,1,1 do while not RS.eof%> document.writeln("<table width=\"98%\" border=\"0\" cellpadding=\"1\" align=\"center\" cellspacing=\"0\" bgcolor=\"0C9EEB\">"); document.writeln("<tr>"); document.writeln("<td align=\"center\"><table width=\"100%\" border=\"0\" cellpadding=\"1\" cellspacing=\"1\" bgcolor=\"#D9D9D9\" style=\"layer-out:fixed;word-break:break-all \">"); document.writeln("<tr bgcolor=\"#0096D4\">"); document.writeln("<td height=\"22\" width=\"4%\" align=\"center\"><img src=\"<%= GetConfig("WebiInstallDir") %>Users/images/senbapl_19.jpg\" alt=\"\" width=\"15\" height=\"17\" hspace=\"3\" /></td>"); document.writeln("<td align=\"left\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">"); document.writeln("<tr>"); document.writeln("<td><font color=\"#FFFFFF\"><strong><%=RS("CommentsUsers")%></strong></font></td>"); document.writeln("<td width=\"28%\"><font color=\"#FFFFFF\">日期:<%=RS("CommentsDate")%></font></td>"); document.writeln("</tr>"); document.writeln("</table></td>"); document.writeln("</tr>"); document.writeln("<tr bgcolor=\"#FFFFFF\">"); document.writeln("<td height=\"22\" align=\"center\"><img src=\"<%= GetConfig("WebiInstallDir") %>Users/images/senbapl_22.jpg\" alt=\"\" width=\"15\" height=\"20\" hspace=\"3\" /></td>"); document.writeln("<td align=\"left\"><%=UBBcode(RS("CommentsContent"))%></td>"); document.writeln("</tr>"); document.writeln("</table></td>"); document.writeln("</tr>"); document.writeln("</table>"); document.writeln("<table width=\"100\" height=\"10\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">"); document.writeln("<tr>"); document.writeln("<td></td>"); document.writeln("</tr>"); document.writeln("</table>"); <%RS.movenext loop RS.close set RS=nothing call connclose()%>